<?php

class IndexControl extends Control {

   /* public function index() {
        modcall("user", "quit", null);
        $uinfo = modcall("user", "login", null);
        if (!$uinfo['uid']) return $this->out_error(ERR305);
        
		$friends = modcall("friend", "richfriends", array($uinfo['uid']));

        load_view(SNS_API_NAME, array("uid" => $uinfo['uid'], "uinfo" => &$uinfo, "friends" => &$friends));
    }

	public function setside() {
        $uid = self::isauth();
        if (!$uid) return $this->out_error(ERR303);

		$side = $_POST["side"];

        $ret = modcall("user", "setside", array($uid, $side));
        if ($ret['ecode']) return $this->out_error($ret['ecode']);
        else return $this->out_result(&$ret['ret']);
    }

	public function stime()
	{
		return $this->out_result(time());
    }*/

	public function index(){
		echo "hello world";
	}

}

?>